Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1558>
ClutterActor *actor;
gint scale;
char *gicon_string;
- char *key;
+ g_autofree char *key = NULL;
float actor_size;
GtkIconTheme *theme;
GtkIconInfo *info;
{
/* If there's an outstanding request, we've just added ourselves to it */
g_object_unref (info);
- g_free (key);
}
else
{
request->cache = cache;
/* Transfer ownership of key */
- request->key = key;
+ request->key = g_steal_pointer (&key);
request->policy = policy;
request->colors = colors ? st_icon_colors_ref (colors) : NULL;
request->icon_info = info;